#ifndef MAINPAGE_H
#define MAINPAGE_H

// homepage html file in char array. 
// PROGMEM : This data should be stored in Flash memory.
const char mainpage[] PROGMEM = R"=====(      
<!DOCTYPE html>
<html>

<head>
  <title>OpenCAT Nybble Web Control</title>
    <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=0.8, user-scalable=yes" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
      
  <style>
    .header{
      background-color: #F1F1F1;
      padding: 10px;
      text-align: center;
    }
    
    ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
      border: 1px solid #E7E7E7;
      background-color: #F3F3F3;
    }
    
    li {
      float: left;
      margin-left: 10px;
      margin-right: 10px;
    }
    
    li a {
      display: block;
      color: #666666;
      text-align: center;
      padding: 14px, 16px;
      text-decoration: none;
    }
    
    li a:hover:not(.active){
      background-color: #dddddd;
    }
    
    li a.active{
      color: #FFFFFF;
      background-color: #4caf50;
    }
    
    .footer {
      width: 100%;
      background-color: #F1F1F1;
      text-align: center;
      position: fixed;
      bottom: 0;
      height: 45px;
      font-size: 15px;
      padding: 10px;
    }
  
  </style>
</head>



<body>
  <ul>
    <li><a class="active" href="/">Home</a></li>
    <li><a href="/actionpage">Actions</a></li>
  </ul>

  <div class = "header">
    <h1>Welcome!</h1>
  </div>

  /*  Petoi LOGO, base64 image demo
  <div align="center">
    <img src="" />
  </div>
  */
  
    <div class="footer">
    <p>Petoi LLC 2021 www.petoi.com</p>
  </div>
  
  
</body>

</html>
)=====";

#endif
